//
//  UIImage+CHChatView.h
//  ChildHoodStemp
//
//  Created by 日东 罗 on 13-10-6.
//
//

#import <UIKit/UIKit.h>

@interface UIImage (CHChatView)

#pragma mark - Avatar styles
- (UIImage *)circleImageWithSize:(CGFloat)size;
- (UIImage *)squareImageWithSize:(CGFloat)size;

- (UIImage *)imageAsCircle:(BOOL)clipToCircle
               withDiamter:(CGFloat)diameter
               borderColor:(UIColor *)borderColor
               borderWidth:(CGFloat)borderWidth
              shadowOffSet:(CGSize)shadowOffset;

#pragma mark - Bubble cap insets
- (UIImage *)makeStretchableDefaultSended;
- (UIImage *)makeStretchableDefaultReceived;

#pragma mark - Received message bubbles
+ (UIImage *)bubbleDefaultReceived;
+ (UIImage *)bubbleDefaultReceivedSelected;

#pragma mark - Sended message bubbles
+ (UIImage *)bubbleDefaultSended;
+ (UIImage *)bubbleDefaultSendedSelected;

@end
